<%@ page import="org.ikastola.BalanceFees" %>


<table>
	<thead>
		<tr>
			<th>Alumno </th>
			<th>Febrero </th>
			<th>Marzo </th>
			<th>Abril </th>
			<th>Mayo </th>
			<th>Junio </th>
			<th>Julio </th>
			<th>Agosto </th>
			<th>Septiembre </th>
			<th>Octubre</th>
			<th>Noviembre </th>
			<th>Diciembre </th>
			<th>Total</th>
		</tr>
	</thead>
	<tbody>
	<g:each in="${reportBeans}" status="i" var="reportInstance">
		<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
		
			<td>${reportInstance?.getFullName()}</td>
			<td>${reportInstance?.getMonth2()}</td>
			<td>${reportInstance?.getMonth3()}</td>
			<td>${reportInstance?.getMonth4()}</td>
			<td>${reportInstance?.getMonth5()}</td>
			<td>${reportInstance?.getMonth6()}</td>
			<td>${reportInstance?.getMonth7()}</td>
			<td>${reportInstance?.getMonth8()}</td>
			<td>${reportInstance?.getMonth9()}</td>
			<td>${reportInstance?.getMonth10()}</td>
			<td>${reportInstance?.getMonth11()}</td>
			<td>${reportInstance?.getMonth12()}</td>
			<td>${reportInstance?.getTotalPay()}</td>
			</tr>
	</g:each>
	</tbody>
</table>
<fieldset class="buttons">
	<g:link class="pdf" action="getBalance" params='[pdf:"pdf", month_month:"${month}", month_year: "${year}", course: "${course}", fee: "${fee}"]'>Descargar</g:link>
</fieldset>